package com.lay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 会员等级
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 等级编号，主键，唯一
     */
    @TableId(value = "m_id", type = IdType.AUTO)
    private Integer mId;

    /**
     * 等级名称
     */
    private String mName;

    /**
     * 最小信用
     */
    private Integer mMinscore;

    /**
     * 最大信用
     */
    private Integer mMaxscore;

    /**
     * 保险折扣
     */
    private Double mDiscount;

    /**
     * 添加时间
     */
    private LocalDateTime mAddtime;


    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public Integer getmMinscore() {
        return mMinscore;
    }

    public void setmMinscore(Integer mMinscore) {
        this.mMinscore = mMinscore;
    }

    public Integer getmMaxscore() {
        return mMaxscore;
    }

    public void setmMaxscore(Integer mMaxscore) {
        this.mMaxscore = mMaxscore;
    }

    public Double getmDiscount() {
        return mDiscount;
    }

    public void setmDiscount(Double mDiscount) {
        this.mDiscount = mDiscount;
    }

    public LocalDateTime getmAddtime() {
        return mAddtime;
    }

    public void setmAddtime(LocalDateTime mAddtime) {
        this.mAddtime = mAddtime;
    }

    @Override
    public String toString() {
        return "Member{" +
        "mId=" + mId +
        ", mName=" + mName +
        ", mMinscore=" + mMinscore +
        ", mMaxscore=" + mMaxscore +
        ", mDiscount=" + mDiscount +
        ", mAddtime=" + mAddtime +
        "}";
    }
}
